<template>
  <div class="error-wrap">
    <div class="content">
      <slot></slot>
    </div>
  </div>
</template>

<script lang="ts" setup>
</script>

<style lang="scss" scoped>
.error-wrap {
  position: absolute;
  left: 0;
  top: 0;
  flex: 1;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;

  .content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 18px;
    color: #ccc;
  }
}
</style>